package domain;
//宿舍表
public class Dorm {
    private String dormnum;
    private String member1;//宿舍1号同学
    private String member2;//宿舍2号同学
    private String member3;//宿舍3号同学
    private String member4;//宿舍4号同学
    private String member5;//宿舍5号同学
    private String member6;//宿舍6号同学
    private double water;//水费
    private double ele;//电费
    private String head;//宿舍长
    private String level;//宿舍等级

    public String getDormnum() {
        return dormnum;
    }

    public void setDormnum(String dormnum) {
        this.dormnum = dormnum;
    }

    public String getMember1() {
        return member1;
    }

    public void setMember1(String member1) {
        this.member1 = member1;
    }

    public String getMember2() {
        return member2;
    }

    public void setMember2(String member2) {
        this.member2 = member2;
    }

    public String getMember3() {
        return member3;
    }

    public void setMember3(String member3) {
        this.member3 = member3;
    }

    public String getMember4() {
        return member4;
    }

    public void setMember4(String member4) {
        this.member4 = member4;
    }

    public String getMember5() {
        return member5;
    }

    public void setMember5(String member5) {
        this.member5 = member5;
    }

    public String getMember6() {
        return member6;
    }

    public void setMember6(String member6) {
        this.member6 = member6;
    }

    public double getWater() {
        return water;
    }

    public void setWater(double water) {
        this.water = water;
    }

    public double getEle() {
        return ele;
    }

    public void setEle(double ele) {
        this.ele = ele;
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    @Override
    public String toString() {
        return "Dorm{" +
                "dormnum='" + dormnum + '\'' +
                ", member1='" + member1 + '\'' +
                ", member2='" + member2 + '\'' +
                ", member3='" + member3 + '\'' +
                ", member4='" + member4 + '\'' +
                ", member5='" + member5 + '\'' +
                ", member6='" + member6 + '\'' +
                ", water=" + water +
                ", ele=" + ele +
                ", head='" + head + '\'' +
                ", level='" + level + '\'' +
                '}';
    }
}
